package com.pactera.jep.service.sys.conf;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import com.pactera.jep.service.sys.conf.properties.Deptinfo;
import com.pactera.jep.service.sys.conf.properties.Employee;
import com.pactera.jep.service.sys.conf.properties.Token;

@Component
@ConfigurationProperties("sync")
public class SyncProperties {

	private boolean enabled;

	private Token token;

	private Deptinfo deptinfo;

	private Employee employee;

	public boolean isEnabled() {
		return enabled;
	}

	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}

	public Token getToken() {
		return token;
	}

	public void setToken(Token token) {
		this.token = token;
	}

	public Deptinfo getDeptinfo() {
		return deptinfo;
	}

	public void setDeptinfo(Deptinfo deptinfo) {
		this.deptinfo = deptinfo;
	}

	public Employee getEmployee() {
		return employee;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

}
